﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [Table("Member")]
    public class Member: ModelAudit
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 会员等级
        /// </summary>
        public int LevelId { get; set; }
        /// <summary>
        /// 会员号
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Tel {  get; set; }
        /// <summary>
        /// 密码用“*”星号显示
        /// </summary>
        public string Pwd {  get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age {  get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime ChuShengDate { get; set; }= DateTime.Now;
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; } = 1;
    }
}
